/**
 * weiyinli.com Inc.
 * Copyright (c) 2006-2011 All Rights Reserved.
 */
package com.nmp.web.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * 系统启动初始化监听器
 * @author defier.lai
 * 2011-9-18 下午11:41:07
 * @version 1.0
 */
public class ApplicationListener implements ServletContextListener {

	@Override
	public void contextInitialized(ServletContextEvent evt) {
		ServletContext servletContext = evt.getServletContext();
		SpringBeanManager.initContext(servletContext);
	}
	
	@Override
	public void contextDestroyed(ServletContextEvent arg0) {
		
	}

}
